package com.wisdytech.ccdserver.common.enums;

/**
 * 操作状态
 * @author svolt
 */

public enum BusinessStatus {

    /**
     * 成功
     */
    SUCCESS("success","成功"),

    /**
     * 失败
     */
    FAIL("fail","失败"),

    /**
     * 错误
     */
    ERROR("error","错误");

    private final String code;
    private final String value;

    BusinessStatus(String code, String value) {
        this.code = code;
        this.value = value;
    }

    public String getCode()
    {
        return code;
    }

    public String getValue()
    {
        return value;
    }
}
